Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming the node role search to warm #17573

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

vinaykpud
Copy link
Contributor

@vinaykpud vinaykpud commented Mar 11, 2025

In this PR we are renaming the existing Node "Search Role" to "Warm Role"

Description

This is done based on the decision taken as part of the discussion in this thread: #17422 (comment)

Related Issues

Related to #15306
Related to #17422

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
@github-actions github-actions bot added bug Something isn't working Search:Performance labels Mar 11, 2025
@vinaykpud vinaykpud changed the title Renaming search node role to warm Renaming the node role search to warm Mar 11, 2025
@mch2
Copy link
Member

mch2 commented Mar 11, 2025

This is a straight rename correct? It does not resolve #17422 ?

Copy link
Contributor

❌ Gradle check result for 835fd60: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
@vinaykpud
Copy link
Contributor Author

This is a straight rename correct? It does not resolve #17422 ?

Yes, Do you want me to add a new issue for this?

Copy link
Contributor

❌ Gradle check result for b0d026a: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@vinaykpud vinaykpud closed this Mar 11, 2025
@vinaykpud vinaykpud reopened this Mar 11, 2025
Copy link
Contributor

✅ Gradle check result for b0d026a: SUCCESS

Copy link

codecov bot commented Mar 11, 2025

Codecov Report

Attention: Patch coverage is 93.93939% with 2 lines in your changes missing coverage. Please review.

Project coverage is 72.41%. Comparing base (ffa46ca) to head (b0d026a).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
.../java/org/opensearch/env/NodeRepurposeCommand.java 81.81% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #17573      +/-   ##
============================================
- Coverage     72.43%   72.41%   -0.02%     
- Complexity    65721    65728       +7     
============================================
  Files          5311     5311              
  Lines        304941   304937       -4     
  Branches      44228    44226       -2     
============================================
- Hits         220890   220829      -61     
- Misses        65952    66040      +88     
+ Partials      18099    18068      -31     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@andrross
Copy link
Member

Let's make sure this aligns with what @gbbafna mentioned here before merging.

We'd generally want to do a deprecation cycle before just replacing a term like this. However, it does appear that search was a bit of a misnomer and it is not in wide use beyond searchable snapshots, so I'm not totally opposed with doing this to unblock the usage of the search role where it might actually make more sense.

@gbbafna
Copy link
Collaborator

gbbafna commented Mar 12, 2025

@vinaykpud : Can we verify if we upgrade the cluster from 2.x to 3.0 with this change, searchable snapshots continue to work ? There might be few nuances here like changing the cluster-manager first . Want to make sure that rolling restarts works with this change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants